using System;
using System.Collections.Generic;
using System.Text;
using OgilvyOne.BLL;
using OgilvyOne.Model;
using System.Collections;

namespace OgilvyOne.ProcessFlow
{
    public class ScoreRuleController
    {
        // Methods
        public ScoreRuleInfo GetScoreRuleInfo(int id)
        {
            BLLScoreRule rule = new BLLScoreRule();
            return rule.GetScoreRuleInfo(id);
        }

        public IList GetScoreRuleList(int flag)
        {
            BLLScoreRule rule = new BLLScoreRule();
            return rule.GetScoreRuleList(flag);
        }

        public void UpdateScoreRule(ScoreRuleInfo info)
        {
            new BLLScoreRule().UpdateScoreRule(info);
        }

    }
}
